#!/usr/bin/env python 
# -*- coding:utf-8 -*-

from django.urls import path
from . import views

# app的名字
app_name = 'course'

urlpatterns = [
    path('', views.course_list, name='index'),
    path('<int:course_id>/', views.CourseDetailView.as_view(), name='course_detail'),
]